package de.mafr.jsystest.ws;

import org.apache.commons.httpclient.HttpMethodBase;


/**
 * Turn a commons-httpclient response into a jsystest Response.
 * 
 * TODO: Encapsulate HttpMethodBase to avoid leaking commons-httpclient API?
 * 
 * @param <T> the class representing the response's body
 */
public interface ResponseFactory<T> {

	Response<T> create(HttpMethodBase method);	
}
